home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / workbench / wbstartemu / src / library.h < prev    next >
C/C++ Source or Header  |  1999-11-29  |  2KB  |  42 lines

  1.  
  2. /****************************************************************************/
  3.  
  4. struct WBStartBase
  5. {
  6.     struct Library    LibNode;
  7.     UWORD            pad_word;
  8.      BPTR            LibSegment;
  9.      struct SignalSemaphore
  10.                      wbsb_LibLock;    
  11.     struct Library *wbsb_SysBase;
  12.     struct Library *wbsb_WorkbenchBase;
  13.     struct Library *wbsb_UtilityBase;
  14.     struct Library *wbsb_DOSBase;
  15. };
  16.  
  17. /****************************************************************************/
  18.  
  19. /* Tags for WBStartTagList() */
  20.  
  21. /* Name of the program to start. It is relative to                   */
  22. /* WBStart_DirectoryName or WBStart_DirLock.                         */
  23. #define WBStart_Name           (TAG_USER + 1)  /* const char *       */
  24.  
  25. /* Name of a directory. Mutually exclusive to WBStart_DirectoryLock  */
  26. #define WBStart_DirectoryName  (TAG_USER + 2)  /* const char *       */
  27.  
  28. /* Lock of a directory. Mutually exclusive to WBStart_DirectoryName  */
  29. #define WBStart_DirectoryLock  (TAG_USER + 3)  /* BPTR               */
  30.  
  31. /* Stack size for the new process                                    */
  32. #define WBStart_Stack          (TAG_USER + 4)  /* ULONG              */
  33.  
  34. /* Priority for the new process                                      */
  35. #define WBStart_Priority       (TAG_USER + 5)  /* LONG               */
  36.  
  37. /* Number of arguments in WBStart_ArgumentList                       */
  38. #define WBStart_ArgumentCount  (TAG_USER + 6)  /* ULONG              */
  39.  
  40. /* Array of arguments. WBStart_ArgumentCount MUST be specified also! */
  41. #define WBStart_ArgumentList   (TAG_USER + 7)  /* struct WBArg *     */
  42.